package com.ruoyi.system.service;

import com.ruoyi.common.core.domain.entity.FileAuthRef;
import com.ruoyi.common.core.domain.vo.UpdateAuthGrantVO;
import lombok.AllArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;


public interface FileAuthRefService {


    public List<Map<String,Object>> selectUserAndRoleList();

    public boolean insertFileAuthRef(UpdateAuthGrantVO fileAuthRefList);

    List<Long> selectAllByUserIdAndFileId(Long userId, Long fileId,Integer authId);
}
